package com.zkr.sparecost.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by lenovo on 2020/12/18.
 */
@Data
//备件表
public class SpareCostClassVo {
    //备件id
    private Integer materialId;
    //价格id
    private Integer id;
    private Integer userId;
    //备件编码
    private String materialCode;
    //备件名称
    private String materialName;
    //计量单位
    private String materialUnit;
    //状态
    private Boolean enabled;

    private String statusName;
    //开始时间
    private Date startTime;
    //结束时间
    private Date endTime;
    //工厂编码
    private String legalPlantCode;
    //工厂名称
    private String legalPlantName;
    //备注
    private String remark;

    //备件价格
    private Double price;
    //价格编码
    private String priceType;
    //价格分类名称
    private String priceTypeName;

    //货币类型
    private String currencyCode;
    private String currencyCodeName;
    //含税类型
    private String taxType;
    private String taxDec;

    //法人名称
    private String legalPersonCode;
    private String legalPersonName;

    //创建人
    private String creatorName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creatorTime;

   //修改人
    private String updateName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    //有效开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startStartTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startEndTime;

    //有效结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endEndTime;
    private Date endStartTime;

    private Boolean status;


}
